package main

import "fmt"

func main() {
	////申明一个变量 a=878
	//
	//var aa int = 878
	////打印变量a的值
	//fmt.Println(aa)

	//计算小王活了多少秒

	//var age int = 20
	//var seconds int = 60 * 60 * 24 * 365 * age
	//fmt.Println("小王活了多少秒：", seconds)

	var r float32 = 5

	fmt.Println("圆的面积：", pi*r*r)
	fmt.Println("圆的周长：", 2*pi*r)
}

const pi = 3.14
